package com.example.dockerdemo.service.impl;

import com.example.dockerdemo.entity.User;
import com.example.dockerdemo.mapper.UserMapper;
import com.example.dockerdemo.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("userService")
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public User selectByUsername(String username) {
        return userMapper.selectByUsername(username);
    }
}
